package ee.rsi2m.goproject.util;

import android.graphics.PointF;

import ee.rsi2m.goproject.model.GoStone;

public class Point{

	private float x, y;

	public Point(float x, float y) {
		this.x = x;
		this.y = y;
	}

	public Point() {
		super();
	}

	public float getX() {
		return x;
	}

	@Override
	public boolean equals(Object o) {
		if (x == ((Point) o).x && y == ((Point) o).y) {
			return true;
		}
		return super.equals(o);
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	@Override
	public String toString() {
		return "X= " + this.x + " Y= " + this.y;
	}

}